//Fly派课程
import React from 'react';
import "./index.css";
import Bar from '../Bar';

export default class FlyCourseSmall extends React.Component{
    constructor(props){
        super();
        this.state={
            width:props.width,
        };
    }
    render()
    {
        return(
            <div className="FlyCourseSmall_Left"
                 style={{ width:this.state.width,height:this.state.height}}>
                <div className="FlyCourseSmall_Title">FLy派的课程</div>
                <div className="FlyCourseSmall_Desc">Fly school courses</div>
                <div className="FlyCourseSmall_Bar"><Bar color="#fff"/></div>
                <div className="FlyCourseSmall_Pic"><img alt="lesson" src="/assets/home/study_3.png" width="50%" height="40%"></img></div>
            </div>
        );
    }
}